from rest_framework import serializers

from goods.models import SKU, GoodsSpecification


class SKUSerializer(serializers.ModelSerializer):



    class Meta:
        model = SKU
        fields = '__all__'


class SPECSerializer(serializers.ModelSerializer):



    class Meta:
        model = GoodsSpecification
        fields = ['name']
